First front-end node, client node, load balancer node, and methods performed thereby, for supporting data communication

ABSTRACT

A method is performed by a first front-end node, for supporting data communication. The first front-end node operates in a communications network comprising a pool of front-end nodes for providing access to a database. The pool of front-end nodes includes the first front-end node. The first front-end node receives, from a load balancer node, a first request for data from the database, from a client node. The first front-end node provides, to the client node, a first response to the received first request, the first response comprising including a first indication indicating that the first front-end node is a preferred node for providing a subsequent response to a subsequent request for data from the client node. The subsequent response is allowed to originate from another front-end node in the pool of front-end nodes, different than the preferred node.

TECHNICAL FIELD

The present disclosure relates generally to a first front-end node andmethods performed thereby for supporting data communication. The presentdisclosure also relates generally to a client node, and methodsperformed thereby for supporting data communication. The presentdisclosure additionally relates generally to a load balancer node, andmethods performed thereby for supporting data communication. The presentdisclosure further relates generally to a computer program product,comprising instructions to carry out the actions described herein, asperformed by the first front-end node, the client node, or the loadbalancer node. The computer program product may be stored on acomputer-readable storage medium.

BACKGROUND

Computer systems may comprise one or more nodes. A node may comprise oneor more processors which, together with computer program code mayperform different functions and actions, a memory, a receiving and asending port. Nodes may be comprised in a telecommunications network.

User Data Convergence (UDC) is an architecture described in the 3rdGeneration Partnership Project (3GPP) TS 23.335 in which the dynamic andpersistent data of the subscribers may be stored in a common storageknown as a User Data Repository (UDR). Dynamic user data may beunderstood as data which may be changed as a consequence of a users'activity, e.g., a user powering on his phone. Persistent user data maybe understood as data which does not change, regardless of the users'activity, e.g., telephone number, date of birth. The storage of bothdynamic and persistent user data may allow the consumers, which may alsobe referred to as application Front-Ends, e.g., a Home Location RegisterFront-End (HLR-FE), or a Home Subscriber Server Front-End (HSS-FE), tohost only business logic and remain completely user data-less, so thatany given request may be served by any front-end at any given time,since all data that may be required to serve the request may beavailable to be fetched from the UDR. The consumers may be understoodhere as the network functions storing and retrieving users' data for thepurpose of providing services to users, e.g., voice telephony,messaging.

Being data-less may be understood to mean that load balancing, that is,distributing the traffic from a communications network equally towardsthe application front-ends to share the load, thereby avoiding overload,may be done among the different application front-ends, but it also maybe understood to mean that every time a request is received, the userdata must be fetched from UDR, which impacts the latency/performance.This problem may become significant when massive signalling occurs. Inorder to mitigate this problem, some application Front-Ends performcaching to avoid fetching user data from the UDR for each and everyrequest related to each user. Existing methods, however, may result inobsolete data being cached and later retrieved from the cache upon arequest.

SUMMARY

It is an object of embodiments herein to improve the support of datacommunication in a communications network.

According to a first aspect of embodiments herein, the object isachieved by a method, performed by a first front-end node, forsupporting data communication. The first front-end node operates in acommunications network. The communications network comprises a pool offront-end nodes for providing access to a database. The pool offront-end nodes comprises the first front-end node. The first front-endnode receives, from a load balancer node, a first request for data fromthe database. The first request for data is from a client node. The loadbalancer node and the client node operate in the communications network.The first front-end node provides, to the client node, a first responseto the received first request. The first response comprises a firstindication indicating that the first front-end node is a preferred nodefor providing a subsequent response to a subsequent request for datafrom the client node. The subsequent response is allowed to originatefrom another front-end node in the pool of front-end nodes. The anotherfront-end node is different than the preferred node.

According to a second aspect of embodiments herein, the object isachieved by a method, performed by the client node, for supporting datacommunication. The client node operates in the communications network.The communications network comprises the pool of front-end nodes forproviding access to the database. The pool of front-end nodes comprisesa first front-end node. The client node provides the second indicationto the load balancer node operating in the communications network. Thesecond indication indicates that the first front-end node is thepreferred node for providing the subsequent response to the subsequentrequest for data from the database. The subsequent request is from theclient node. The second indication indicates that the first front-endnode is the preferred node by indicating that i) the first front-endnode is a destination host for providing the subsequent response to thesubsequent request for data from the database, and ii) if the firstfront-end node is unavailable, the another front-end node is allowed tobe selected from the pool of front-end nodes to provide the response,the different front-end node being available. The client node alsoreceives the subsequent response to the subsequent request for data, thesubsequent response being based on the provided second indication.

According to a third aspect of embodiments herein, the object isachieved by a method, performed by the load balancer node, forsupporting data communication. The load balancer node operates in thecommunications network. The communications network comprises the pool offront-end nodes for providing access to the database. The pool offront-end nodes comprises the first front-end node. The load balancernode receives the second indication from the client node operating inthe communications network. The second indication indicates that thefirst front-end node is the preferred node for providing the subsequentresponse to the subsequent request for data from the database, thesubsequent request being from the client node. The second indicationindicates that the first front-end node is the preferred node forproviding the subsequent response by indicating that: i) the firstfront-end node is the destination host for providing the response to therequest for data from the database, and that ii) if the first front-endnode is unavailable, the another front-end node, the another front-endnode being available, is allowed to be selected from the pool offront-end nodes to provide the subsequent response. The load balancernode initiates, based on the received second indication and in responseto the subsequent request for data from the client node, an attempt toreceive the subsequent response to the subsequent request for data. Thereception of the subsequent response is first attempted from the firstfront-end node, and one of the following applies: i) the first front-endnode is available and the subsequent response is successfully receivedfrom the first front-end node, and ii) the first front-end node isunavailable and the subsequent request is re-routed to the anotherfront-end node, the another front-end node being available. The anotherfront-end node is selected by the load balancer node from the pool offront-end nodes to provide the subsequent response.

According to a fourth aspect of embodiments herein, the object isachieved by the first front-end node configured to support datacommunication. The first front-end node is further configured to operatein the communications network. The communications network is configuredto comprise the pool of front-end nodes. The pool of front-end nodes areconfigured to provide access to the database. The pool of front-endnodes comprise the first front-end node. The first front-end node isfurther configured to receive, from the load balancer node, the firstrequest for data from the database. The first request for data isconfigured to be from the client node. The load balancer node and theclient node are further configured to operate in the communicationsnetwork. The first front-end node is further configured to provide, tothe client node, the first response to the first request configured tobe received. The first response is configured to comprise the firstindication configured to indicate that the first front-end node is thepreferred node for providing the subsequent response to the subsequentrequest for data from the client node. The subsequent response isconfigured to be allowed to originate from the another front-end node inthe pool of front-end nodes. The another front-end node is differentthan the preferred node.

According to a fifth aspect of embodiments herein, the object isachieved by the client node configured to support data communication.The client node is further configured to operate in the communicationsnetwork. The communications network is configured to comprise the poolof front-end nodes for providing access to the database. The pool offront-end nodes comprises the first front-end node. The client node isfurther configured to provide the second indication to the load balancernode configured to operate in the communications network. The secondindication is configured to indicate that the first front-end node isthe preferred node for providing the subsequent response to thesubsequent request for data from the database. The subsequent request isconfigured to be from the client node. The second indication isconfigured to indicate that the first front-end node is the preferrednode for providing the subsequent response by indicating that: i) thefirst front-end node is the destination host for providing thesubsequent response to the subsequent request for data from thedatabase, and ii) if the first front-end node is unavailable, theanother front-end node is allowed to be selected from the pool offront-end nodes to provide the response, the different front-end nodebeing available. The client node is further configured to receive thesubsequent response to the subsequent request for data, the subsequentresponse being configured to be based on the second indicationconfigured to be provided.

According to a sixth aspect of embodiments herein, the object isachieved by the load balancer node configured to support datacommunication. The load balancer node is configured to operate in thecommunications network. The communications network is configured tocomprise the pool of front-end nodes for providing access to thedatabase. The pool of front-end nodes is configured to comprise thefirst front-end node. The load balancer node is further configured toreceive the second indication from the client node configured to operatein the communications network. The second indication is configured toindicate that the first front-end node is the preferred node forproviding the subsequent response to the subsequent request for datafrom the database. The subsequent request is configured to be from theclient node. The second indication is configured to indicate that thefirst front-end node is the preferred node for providing the subsequentresponse by indicating that: i) the first front-end node is thedestination host for providing the subsequent response to the subsequentrequest for data from the database, and ii) if the first front-end nodeis unavailable, the another front-end node, the another front-end nodebeing available, is allowed to be selected from the pool of front-endnodes to provide the subsequent response. The load balancer node isfurther configured to initiate, based on the second indicationconfigured to be received, and in response to the subsequent request fordata from the client node, the attempt to receive the subsequentresponse to the subsequent request for data. The reception of thesubsequent response is configured to be first attempted from the firstfront-end node, and one of the following applies: i) if the firstfront-end node is available, the response is configured to besuccessfully received from the first front-end node, and ii) if thefirst front-end node is unavailable, the request is configured to bere-routed to the another front-end node, the another front-end nodebeing configured to be available. The another front-end node isconfigured to be selected by the load balancer node from the pool offront-end nodes to provide the subsequent response.

According to a seventh aspect of embodiments herein, the object isachieved by a computer program. The computer program comprisesinstructions which, when executed on at least one processor, cause theat least one processor to carry out the method performed by the clientnode.

According to an eighth aspect of embodiments herein, the object isachieved by computer-readable storage medium. The computer-readablestorage medium has stored thereon a computer program comprisinginstructions which, when executed on at least one processor, cause theat least one processor to carry out the method performed by the clientnode.

According to a ninth aspect of embodiments herein, the object isachieved by a computer program. The computer program comprisesinstructions which, when executed on at least one processor, cause theat least one processor to carry out the method performed by the firstfront-end node.

According to a tenth aspect of embodiments herein, the object isachieved by computer-readable storage medium. The computer-readablestorage medium has stored thereon a computer program comprisinginstructions which, when executed on at least one processor, cause theat least one processor to carry out the method performed by the firstfront-end node.

According to an eleventh aspect of embodiments herein, the object isachieved by a computer program. The computer program comprisesinstructions which, when executed on at least one processor, cause theat least one processor to carry out the method performed by the loadbalancer node.

According to a twelfth aspect of embodiments herein, the object isachieved by computer-readable storage medium. The computer-readablestorage medium has stored thereon a computer program comprisinginstructions which, when executed on at least one processor, cause theat least one processor to carry out the method performed by the loadbalancer node.

By providing the first indication indicating that the first front-endnode is the preferred node for providing the subsequent response to thesubsequent request, the first front-end node enables the client node tothen provide the second indication to the load balancer node. Byproviding the second indication to the load balancer node, indicatingthat the first front-end node is the preferred node for providing thesubsequent response, the client node enables the load balancer node tothen first attempt to receive the subsequent response from the firstfront-end node, and only re-route the subsequent request to theavailable another front-end node, if the first front-end node isunavailable. The first indication, and in turn the second indicationenable both caching and failover in the communications network, as theyenable to optimizes any aspect, e.g., latency, by indicating that thefirst front-end node may be selected first to serve the subsequentrequest, but not excluding alternate servers in the routing. Thus, thecommunications network is enhanced by introducing the concept of dynamicpreference routing which provides for failover.

BRIEF DESCRIPTION OF THE DRAWINGS

Examples of embodiments herein are described in more detail withreference to the accompanying drawings, and according to the followingdescription.

FIG. 1 is a schematic diagram illustrating a first problem of datacommunication according to existing methods.

FIG. 2 is a schematic diagram illustrating a second problem of datacommunication according to existing methods.

FIG. 3 is a schematic diagram illustrating a non-limiting examples of acommunications network, according to embodiments herein.

FIG. 4 is a flowchart depicting embodiments of a method in a firstfront-end node, according to embodiments herein.

FIG. 5 is a flowchart depicting embodiments of a method in a clientnode, according to embodiments herein.

FIG. 6 is a flowchart depicting embodiments of a method in a loadbalancer node, according to embodiments herein.

FIG. 7 is a schematic diagram illustrating an example of the differentcomponents of the communications network and their interactions,according to embodiments herein.

FIG. 8a is a schematic block diagram illustrating an example of a firstfront-end node, according to embodiments herein.

FIG. 8b is a schematic block diagram illustrating another example of afirst front-end node, according to embodiments herein.

FIG. 9a is a schematic block diagram illustrating an example of a clientnode, according to embodiments herein.

FIG. 9b is a schematic block diagram illustrating another example of aclient node, according to embodiments herein.

FIG. 10a is a schematic block diagram illustrating an example of a loadbalancer node, according to embodiments herein.

FIG. 10b is a schematic block diagram illustrating another example of aload balancer node, according to embodiments herein.

DETAILED DESCRIPTION

As part of the development of embodiments herein, a problem will firstbe identified and discussed.

FIG. 1 and FIG. 2 describe the problems when Front-Ends decide to cacheuser data in a UDC architecture operating over a diameter protocol,according to existing methods.

FIG. 1 is a schematic diagram illustrating an example of the differentcomponents of a communications network and their interactions, accordingto existing methods, which results in the so-called failover problem ofthe existing methods.

In step 1, an initial request is sent for a given User-A from a clientnode, which is represented in the Figures as a diameter client. Here, itmay be understood that User-A may be a person who owns a device, e.g., aphone, and when using the device, the network provides a functionalentity, e.g., a client node such as a diameter client, who may serve theperson/device. An example of a client node as a diameter client may be anode where services of a user are stored. This client node may beassigned based on the location of the user, for example. The client nodein this example may be a diameter client since it requires a diameterserver to fetch all data related to the person. In the case of acommunications network, the client node may fetch, via front-ends, theservices for the person, e.g., voice telephony, call forwarding, callwaiting services. For example, every time a person powers on a device, aclient node may acts on his behalf to prepare the network so thatservices may be used by that person. A request may be understood as arequest for data, such as the public identities of the user, e.g.,telephone numbers, mail addresses. Since the diameter client is notaware about a specific diameter server that may be able to serve therequest, it only includes the destination realm. A destination realm maybe understood as the domain which may be allowed to serve the requestsand provide responses, e.g. telephoneservicesprovider.com. ADestination-Host AVP is absent, which is indicated in the Figure as “nodestination”. A destination host may be understood as the intendedrecipient of the request, that is, the node in charge of providing aresponse for a given request. An Attribute-Value Pair (AVP) may beunderstood as an information element that may be included in the requestto dictate a certain behavior or assist a client node or server, so thata user may use services, e.g., telephony.

In step 2, since no destination-host is indicated in the request, therequest is sent to a load balancer node or proxy. A load balancer nodemay be understood as a node in charge of distributing the traffic, e.g.,requests such as diameter requests, among a plurality of servers orfront-ends, so that the load may be shared and no overload may occur ina specific front-end. When the load balancer node receives the request,routing takes place based on the destination realm. The request is thenload balanced among the available servers from the diameter realm by theload balancer node. A diameter realm may refer generically to theorigin, origin-realm AVP, or destination, destination-realm AVP. A listof servers, e.g., HSS-FEs, is found for the realm and one of them isselected according to a one or more criteria. In this particularexample, the available servers from the diameter realm may be understoodto comprise a first Front-End 1, which is a first diameter server, and asecond Front-End 2, which is a second diameter server.

In step 3, the request is forwarded to the selected server, including anindication for the User-A and the destination selected by the loadbalancer node, which in this particular example is Front-End-1.

In step 4, since the diameter server selected, Front-End-1, isdata-less, the user data is fetched from a UDR in the system to servethe request. After business logic is run, the updated user data iswritten in UDR, e.g., a new registration status, so that any otherFront-End in the realm may serve the user. That the user data is updatedmay be understood to mean that a given user data is set to a new value.For example, if a user has his phone switched-off, his status in thenetwork is “not registered”. When the user powers on his phone, hisstatus, that is, the status of his telephone number, is updated to“registered”, and additionally, the client node which may be going toserve/provide services is updated in the UDR as well, since thegeographical location of the user may have changed. The Front-End 1updates first the status of the user, which in this example is“registered” in its cache, and then it writes the status also in UDR, sothat another Front-End, if it needs the status, may simply access theUDR and fetch the value “registered”. Additionally, the diameter serverFront-End-1 internally keeps a local copy of the user data cached, sothat it may be used in subsequent requests for the User-A to avoid theneed to access the UDR again.

In step 5, a successful response is returned to the user, indicatingthat the origin-host of the response is the Front-End-1, that is, theserver providing the response to the request for User-A. A successfulresponse may be understood as a response which indicates that theprocedure went OK, e.g., that the voice telephony service is ready to beused by the user and he can make calls.

In step 6, the diameter client fetches, that is, extracts, theOrigin-Host from the response and stores it as part of the User-A data.This diameter server, Front-End-1, will be the one used for nextrequests for User-A. The Diameter realm will not be used anymore, sincethe destination is now known. For example, if the user powers off hisphone, the client node would use the initially learned Front-End toinform that the phone is no longer registered, that is, that theregistration status is “not registered”. In step 7, a new request fordata is sent for User-A. The Destination-Host extracted in step 6 is nowincluded in the request as being Front-End-1.

In steps 8-9, since the destination host is present in the request, thediameter load balancer node forwards the request to the finaldestination, Front-End-1.

In steps 10-11, Front-End-1 retrieves the user data from the local copyit cached in step 4, and a new successful response is returned to theuser. There is no need to retrieve the data from the UDR.

In step 12, in this example, for whatever reason, e.g., a connectivityfailure, Front-End-1 is unavailable, as indicated in the Figure by thecross. That is, Front-End-1 stops being reachable.

In step 13, a new request for data is sent for User-A, which againindicates that the destination host is Front-End-1.

In steps 14-15, since the final destination indicated by the client isnot reachable, after some retries, the request times out and an errorresponse, e.g., diameter UNABLE_TO_DELIVER, is returned to the clientnode. This is a first problem of the existing methods, as although datafor User-A is still available in the UDR for another diameter server inthe realm, Front-End 2, since neither the diameter client node nor theload balancer are aware of the first server behavior, the Front-End 1,for User-A and the network topology, the standard diameter routingprocedures are applied, and no failover is done. Failover may beunderstood as finding another alternative, in this case, the Front-End2, to serve the request, instead of returning an error to the client toinform that the request failed. In contrast to failover, in thisexample, if the client node indicates a destination host, thedestination host is interpreted as a necessary node to supply aresponse, and no retrieval is attempted from an alternative node in casethe indicated Front-End is unavailable. That neither the diameter clientnode nor the load balancer node are aware of the first server behaviormay be understood as that the load balancer node and the client node donot know that Front-End 1 stored data in the UDR, so they do not knowwhether another server, such as Front-End 2, may be able to retrieve thedata. Hence they do not know whether there is an alternative to re-routethe request when Front-End 1 fails.

FIG. 2 is a schematic diagram illustrating another example of thedifferent components of a communications network and their interactions,according to existing methods, which results in a second problem of theexisting methods, that inconsistent data is cached.

Step 1-5 are the same as in FIG. 1.

In steps 6-8, although the Front-End which served the request forUser-A, Front-End-1, is included as the Origin-Host, the client node isconfigured to not include the Destination-Host AVP. That is, althoughthe Origin-Host was extracted from the response received in Step 5 andcached, the client node decides that subsequent requests are not to besent to a specific server/Front-End, by not including thedestination-host. This configuration choice allows the failovermechanism described above, since the load balancer will route therequest again, based on the realm, as in step 2, so that any Front-Endfrom the realm may be selected.

In steps 9-10, the Front-End selected by the load balancer, in this caseFront-End-2, runs the appropriate business logic and updates data in theUDR accordingly, if required so that any other Front-End may serve theuser. Additionally, Front-End-2 caches the updated User-A data.

In step 11, a successful response is returned to the client node,wherein the origin host, Front-End-2, is indicated.

Steps 12-15 are the same steps as steps 6-9, but when load balancing isperformed, the initial server, Front-End-1, which is available, isselected again.

In step 16, since Front-End-1 has previously cached data for User-A atStep 4, and the Front-End-1 does not have the knowledge that anotherserver, Front-End-2, has since then updated the data in the UDR, theFront-End-1 determines that there is no need to retrieve it from the UDRand fetches the local copy it had previously cached for User-A. However,the user data Front-End-1 has stored in its cache is not up-to-date, andthis is a problem. To circumvent this problem in existing methods, nodiameter server may cache user data since it may not be guaranteed thatsubsequent requests are reaching the same server.

However, caching in UDC is being requested by operators to avoid massivesignaling towards the UDR in the event of massive signaling from theusers, e.g., after a network failure. As seen above, there is nopossibility to have a complete caching solution: either 1) consistentuser data is ensured by steering all requests to the same Front-End andusing the destination-host in subsequent diameter requests, but thefailover procedure as described in FIG. 1 is not possible; or 2) thefailover procedures are ensured by not steering requests to a specificFront-End, but data consistency in Front-Ends' cache is at risk, asdescribed in FIG. 2.

The root of the problems of the existing methods described in FIGS. 1and 2 is that diameter does not offer a protocol routing solution thatmay ensure both, the failover procedure, and the data consistency, sincethe presence of destination host in a request excludes the possibilityto fallback to alternative servers within the same diameter realm whichare also able to serve the requests, as in a UDC architecture. As statedin the Internet Engineering Task Force (IETF) RFC 6733 “a request thatneeds to be sent to a specific home server among those serving a givenrealm MUST contain both the Destination-Realm and Destination-HostAVPs”. IETF does not provide a routing solution when there is no actual“need”, but a “preference” for a request to be sent to a specificFront-End.

In order to address this problem, several embodiments are comprisedherein, which may be understood to relate to providing a mechanism fordiameter servers, e.g., Front-Ends, to inform the rest of the diameterentities within a realm about the possible choices in the diameterrouting for subsequent requests. Embodiments herein may be based on theknowledge that a diameter server may have about its own implementation.It may be noted that in scenarios above, the Front-End may be understoodas the only node who knows both following things: 1) whether the userdata has been updated in the UDR after running the business logic, whichmeans that other Front-Ends may be able to serve the user, and 2)whether the user data has been cached after running the business logic,which means that it may save queries towards the UDR to fetch user datawhen diameter subsequent requests may be received for the user.

As a general overview, particular embodiments herein may be understoodto relate to an apparatus to enable user data caching and load balancingin UDC.

Embodiments will now be described more fully hereinafter with referenceto the accompanying drawings, in which examples are shown. In thissection, the embodiments herein will be illustrated in more detail by anumber of exemplary embodiments. It should be noted that the exemplaryembodiments herein are not mutually exclusive. Components from oneembodiment may be tacitly assumed to be present in another embodimentand it will be obvious to a person skilled in the art how thosecomponents may be used in the other exemplary embodiments.

FIG. 3 depicts a non-limiting example of a communications network 100,in which embodiments herein may be implemented. In some exampleimplementations, the communications network 100 may be implemented in atelecommunications network.

The communications network 100 comprises a client server 101. The clientserver 101 may be understood as a computer or computer system. Theclient server 101 may request a service, such as a data request, for auser of the client server 101, from one or more servers, that is, one ormore computers providing the service. In the communications network 100,the service may be provided by any node in a pool of front-end nodes 110comprised in the communications network 100, whereof a first front-endnode 111 and another front-end node 112 are depicted in FIG. 3. Otherfront-end nodes may be comprised in the pool of front-end nodes 110, asschematically indicated in FIG. 3 by the dashed boxes between the firstfront-end node 111 and the another front-end node 112.

The pool of front-end nodes 110 in the communications network 100provide access to a database 120, where data for a particular user maybe stored. The database 120 may be, for example, a UDR.

The communications network 100 comprises a load balancer node 130.Access to the pool of front-end nodes 110 for the client server 101 maybe handled by the load balancer node 130, which may also be known as aproxy server.

Any of the front-end nodes in the pool of front-end nodes 110, e.g., thefirst front-end node 111 and the another front-end node 112, the clientnode 101 and the load balancer node 130 may be understood as a computersystem. In some examples, any of the front-end nodes in the pool offront-end nodes 110 may be implemented as a standalone server in e.g., ahost computer in the cloud. Any of the front-end nodes in the pool offront-end nodes 110, the client node 101 and the load balancer node 130may in some examples be a distributed node or distributed server, withsome of their respective functions being implemented locally, e.g., by aclient manager, and some of its functions implemented in the cloud, bye.g., a server manager. Yet in other examples, any of the front-endnodes in the pool of front-end nodes 110, the client node 101 and theload balancer node 130 may also be implemented as processing resourcesin a server farm. The pool of front-end nodes 110 may be under theownership or control of a service provider, or may be operated by theservice provider or on behalf of the service provider. Any of any of thefront-end nodes in the pool of front-end nodes 110 may be a diameterserver. The client node 101 may be a diameter client. The load balancernode 130 may be a diameter proxy.

The client node 101, the load balancer node 130 and the first front-endnode 111 may be understood to be a group of interrelated nodes.

The client node 101 may be configured to communicate within thecommunications network 100 with the load balancer node 130 over a firstlink 141, e.g., a radio link or a wired link. The load balancer node 130may be configured to communicate within the communications network 100with the first front-end node 111 over a second link 142, e.g., anotherradio link or another wired link. The load balancer node 130 may beconfigured to communicate within the communications network 100 with theanother front-end node 112 over a third link 143, e.g., another radiolink or another wired link. The first front-end node 111 may be furtherconfigured to communicate within the communications network 100 with thedatabase 120 over a fourth link 144, e.g., another radio link, a wiredlink, an infrared link, etc. . . . . The another front-end node 112 maybe configured to communicate within the communications network 100 withthe database 120 over a fifth link 145, e.g., another radio link, awired link, an infrared link, etc. . . . .

Any of the first link 141, the second link 142, the third link 143, thefourth link 144, and the fifth link 145 may be a direct link or it maygo via one or more computer systems or one or more core networks in thecommunications network 100, which are not depicted in FIG. 3, or it maygo via an optional intermediate network. The intermediate network may beone of, or a combination of more than one of, a public, private orhosted network; the intermediate network, if any, may be a backbonenetwork or the Internet; in particular, the intermediate network maycomprise two or more sub-networks, which is not shown in FIG. 3.

In general, the usage of “first”, “second”, “third”, “fourth” and/or“fifth” herein may be understood to be an arbitrary way to denotedifferent elements or entities, and may be understood to not confer acumulative or chronological character to the nouns they modify.

Embodiments of a method, performed by the first front-end node 111, forsupporting data communication, will now be described with reference tothe flowchart depicted in FIG. 4. The first front-end node 111 operatesin the communications network 100. As stated earlier, the communicationsnetwork 100 comprises the pool of front-end nodes 110 for providingaccess to the database 120. The pool of front-end nodes 110 comprisesthe first front-end node 111.

The method comprises the following actions.

Action 401

In this Action 401, the first front-end node 111 receives, from the loadbalancer node 130, a first request for data from the database 120. Thefirst request for data is from the client node 101. The load balancernode 130 and the client node 101 operate in the communications network100. The first front-end node 111 may operate in the communicationsnetwork 100 over a diameter protocol.

The receiving may be via the second link 142.

A request herein may be understood for example as a Cx-Location-Query,as defined in 3GPP TS 29.228, v. 14.4.0.

It may be understood that the first front-end node 111 may receive thefirst request for data from the load balancer node 130, based on aselection performed by the load balancer node 130 among the availablefront-end nodes in the pool of front-end nodes 110.

Action 402

Since the first front-end node 111, as origin-host, may serve the usermore efficiently than other front-end nodes in the pool of front-endnodes 110, by e.g., decreasing a response latency in UDC, since traffictowards UDR is not required, it may be convenient to indicate to theclient node 101 that the first front-end node 111 may be used as a firstchoice in a future request from the user.

In order to indicate this, and in addition enable the failover procedureto be implemented if necessary, in this Action 402, the first front-endnode 111 provides, to the client node 101, a first response to thereceived first request. The first response comprises a first indicationindicating that the first front-end node 111 is a preferred node forproviding a subsequent response to a subsequent request for data fromthe client node 101, wherein the subsequent response is allowed tooriginate from another front-end node 112 in the pool of front-end nodes110. The another front-end node 112 may be understood to be differentthan the preferred node.

In other words, the first front-end node 111 may indicate to a theclient node 101 that the origin-host of the first response may be cachedand used in subsequent requests as a “preferred” server within therealm, that is the pool of front-end nodes 110, instead of a “needed”server. Expressed differently, the first indication may indicate thatthe origin-host is preferred for subsequent requests, but other serversmay be able to serve the user. Therefore, the subsequent request fordata from the user may preferably be attempted to be fetched first fromthe first front-end node 111, if the first front-end node 111 isavailable. But, if the first front-end node 111 were to be unavailable,the subsequent request may be routed to a different front-end node inthe pool of front-end nodes 110, if available.

A response herein may be understood for example as Cx-Location-QueryResp, as defined in 3GPP TS 29.228, v. 14.4.0.

The first indication may be a new diameter AVP, e.g., a first AVP. Forexample, in the diameter protocol, the first AVP may be understood as arouting-preference AVP. The first AVP may for example, may be indicatedby a value of “1” indicating “Destination-Host preferred”.

In some particular examples, the first indication may be a new AVP,wherein a first value of the AVP may indicate that the first front-endnode 111 is the preferred node for providing the subsequent response tothe subsequent request for data from the client node 101, and that thesubsequent response is allowed to originate from another front-end node112 in the pool of front-end nodes 110. This first value may be “1”, asmentioned before. In some instances, e.g., in other subsequentresponses, the first front-end node 111 may use a second value of thefirst indication, e.g., a value “2” to indicate that the client node 101may use any front-end node 112 in the pool of front-end nodes 110 toprovide a future response. This may occur, for example, if the memory isexhausted in the first front-end node 111, so it may not be able tocache any more, which then implies that any front-end may be equallyvalid.

The first response may be provided to the client node 101 via the loadbalancer node 130.

An advantage of Action 402 is that it enables to have both caching andfailover. It enhances the diameter protocol by introducing the conceptof dynamic preference routing when it comes to diameters serversimplementing business logic, which optimizes any aspect, e.g., latency,when they are selected, but not excluding alternate servers in therouting.

Embodiments of a method, performed by the client node 101, forsupporting data communication, will now be described with reference tothe flowchart depicted in FIG. 5. As stated earlier, the client node 101operates in the communications network 100.

The detailed description of some of the following corresponds to thesame references provided above, in relation to the actions described forthe first front-end node 111, and will thus not be repeated here. Forexample, the communications network 100 comprises a pool of front-endnodes 110 for providing access to a database 120, and the pool offront-end nodes 110 comprises the first front-end node 111.

The client node 101 may operate in the communications network 100 overthe diameter protocol.

The method may comprise one or more of the following actions. In someembodiments all the actions may be performed. In some embodiments, oneor more actions may be performed. One or more embodiments may becombined, where applicable. One or more embodiments may be combined withany of the features described in relation to the first front-end node111 where applicable. All possible combinations are not described tosimplify the description. In FIG. 5, optional actions are indicated withdashed lines.

Action 501

The client node 101, in this Action 501, may receive, from the firstfront-end node 111, the first response to the first request for datafrom the client node 101. As described in Action 402, the first responsecomprises the first indication indicating that the first front-end node111 is the preferred node for providing the subsequent response to thesubsequent request for data from the client node 101. The subsequentresponse is allowed to originate from the another front-end node 112 inthe pool of front-end nodes 110, the another front-end node 112 beingdifferent than the preferred node.

The subsequent request may be understood to be subsequent to the firstrequest, and the subsequent response may be understood to be subsequentto the first response.

The first response may be received via the load balancer node 130.Therefore, client node 101 may receive the first response via the firstlink 141 and the second link 142.

Action 502

In this Action 502, the client node 101 provides an indication, whereinthe indication may be understood to be a second indication, to the loadbalancer node 130 operating in the communications network 100. Thesecond indication indicates that the first front-end node 111 is thepreferred node for providing a response, which may be understood as thesubsequent response, to a request for data from the database 120, whichrequest may be understood as the subsequent request, the subsequentrequest being from the client node 101. The second indication mayindicate this by indicating that: i) the first front-end node 111 is adestination host for providing the subsequent response to the subsequentrequest for data from the database 120, and that ii) if the firstfront-end node 111 is unavailable, the another front-end node 112 isallowed to be selected from the pool of front-end nodes 110 to providethe subsequent response, the different front-end node 112 beingavailable.

The second indication may be understood as a further, new, diameter AVPin the subsequent request from the client node 101 to indicate that ifthe preferred first front-end node 111 is not available, this preferredfirst front-end node 111 made sure, by updating user data in the UDR,that other Front-Ends in the pool of front-end nodes 110 such as theanother front-end node 112 may serve the user anyway.

The further diameter AVP may be understood as a second AVP. For example,in the diameter protocol, the second AVP may be understood as arealm-routing-allowed AVP. The second AVP may for example, may beindicated by a value of “1” indicating “Realm routing allowed”.

The providing in this Action 502 of the second indication may beunderstood to be based on the received first indication. That is, theproviding of the second indication may be understood to be triggered orenabled by the received first indication.

Action 503

In this Action 503, the client node 101 receives the subsequent responseto the subsequent request for data. The subsequent response is based onthe provided second indication. This may be understood as that thefront-end in the pool of front-end nodes 110 that may provide thesubsequent response may have been selected, by the load balancer node130, based on the provided second indication.

The subsequent response may be received, via the load balancer node 130,from at least one of: the first front-end node 111 and the anotherfront-end node 112. Hence, the subsequent response may be received viaany of the first link 141, the second link 142 and the third link 143.

Embodiments of a method, performed by the load balancer node 130, forsupporting data communication will now be described with reference tothe flowchart depicted in FIG. 6. As stated earlier, the load balancernode operates in the communications network 100. The load balancer node130 may operate in the communications network 100 over the diameterprotocol

The detailed description of some of the following corresponds to thesame references provided above, in relation to the actions described forthe first front-end node 111, and will thus not be repeated here. Forexample, the communications network 100 comprises the pool of front-endnodes 110 for providing access to the database 120, and the pool offront-end nodes 110 comprises the first front-end node 111. One or moreembodiments may be combined with any of the features described inrelation to the first front-end node 111 and/or the client node 101,where applicable. All possible combinations are not described tosimplify the description. In FIG. 6, optional actions are indicated withdashed lines.

Action 601

In this Action 601, the load balancer node 130 may receive, from thefirst front-end node 111, the first response to the first request fordata from the client node 101. The first response comprises the firstindication indicating that the first front-end node 111 is the preferrednode for providing the subsequent response to the subsequent request fordata from the client node 101, and that the subsequent response isallowed to originate from the another front-end node 112, the anotherfront-end node 112 being different than the preferred node.

The receiving in this Action 601 may be implemented, e.g., via thesecond link 142.

Action 602

In this Action 603, the load balancer node 130 may provide the receivedfirst indication to the client node 101, e.g., via the first link 141.Providing may be understood here as transparently sending or forwarding.

Action 603

In this Action 603, the load balancer node 130 receives the secondindication from the client node 101 operating in the communicationsnetwork 100, wherein the second indication is the second indication. Thesecond indication indicates that the first front-end node 111 is thepreferred node for providing the subsequent response to the subsequentrequest for data from the database 120, the subsequent request beingfrom the client node 101. The subsequent response is the subsequentresponse to the first response for data from the client node 101. Thesecond indication indicates this by indicating that: i) the firstfront-end node 111 is the destination host for providing the subsequentresponse to the subsequent request for data from the database 120, andii) if the first front-end node 111 is unavailable, the anotherfront-end node 112, the another front-end node 112 being available, isallowed to be selected from the pool of front-end nodes 110 to providethe subsequent response.

The receiving in this Action 603 may be implemented, e.g., via the firstlink 141.

The receiving 603 of the second indication may be understood to be basedon the provided first indication. That is, the receiving of the secondindication may be understood to be a consequence of, or subsequent to,the received first indication.

Action 604

In this Action 604, the load balancer node 130 initiates, based on thereceived second indication and in response to the subsequent request fordata from the client node 101, an attempt to receive the subsequentresponse to the subsequent request for data. The reception of thesubsequent response is first attempted from the first front-end node111. One of the following situations may occur: i) the first front-endnode 111 is available and the subsequent response is successfullyreceived from the first front-end node 111, or ii) the first front-endnode 111 is unavailable and the subsequent request is re-routed to theanother front-end node 112, the another front-end node 112 beingavailable. The another front-end node 112 is, in this situation,selected by the load balancer node 130 from the pool of front-end nodes110 to provide the subsequent response.

Action 605

If the first front-end node 111 is unavailable and the subsequentrequest is re-routed to the another front-end node 112, in this Action605, the load balancer node 130 may provide, to the another front-endnode 112, another indication indicating to clear a cache saved from aprevious request from the client node 101 to the another front-end node112. Providing may be understood here as sending, e.g., via the thirdlink 143. The another indication may be understood as a thirdindication. The third indication may be yet another new diameter AVP ina request from the load balancer node 130 to the another front-end node112, to indicate that there was a previous failover towards anotherfront-end, the first front-end node 111, and that all data cached, ifany, should be cleared before serving the subsequent request, to avoidthe risk of using obsolete data.

The yet another new diameter AVP may be understood as a third AVP. Forexample, in the diameter protocol, the third AVP may be understood as afailback-host AVP. The third AVP may for example, may be indicated by avalue of “1” indicating “Failback performed”. When the AVP may take thisvalue, it may be understood by the receiving server, here the secondfront-end node 112, that a previous failover took place towards anotherdiameter server, here, the first front-end node 111, which means thatthe all user data local copy/cache may need to be cleared and fetchedagain from UDR to run the business logic with the most recent user data.

According to the foregoing, one advantage of embodiments herein is thatthe methods described allow to have both caching and failover in UDCsolutions as required by operators. In addition, they enhances thediameter protocol by introducing the concept of dynamic preferencerouting when it comes to diameters servers implementing business logic,which optimizes any aspect, e.g., latency, when they are selected, butnot excluding alternate servers in the routing.

To further illustrate the embodiments herein, some particularnon-limiting examples of embodiments herein will now be provided infurther detail with regards to FIG. 7. FIG. 7 is a schematic blockdiagram of a particular non-limiting example of the communicationsnetwork 100, with an overview of the actions performed, according toembodiments herein. In FIG. 7, the client node 101 is a diameter client,the load balancer node 130 is a diameter proxy, the first front-end node111 is a first diameter server, the another front-end node 112 isanother diameter server, and the database 120 is a UDR.

Steps 1-4 may be understood as corresponding to steps as in FIGS. 1 and2 and will therefore not be described again. In Step 3, the firstfront-end node 111 receives, according to Action 401 the first requestfor data from the client node 101.

In steps 5-6, in addition to the normal response, the first indication,in the form of a new diameter AVP, is returned to the client node 101according to Action 402, so that the client is aware about the possiblerouting aspects. In this example, the first indication may be equivalentto indicating: “I'd like to serve this user whenever is possible, sinceI'm sure I'll be more efficient than other diameter servers. If it's notpossible, please select any alternate server for the same realm, since Imade sure that others are able to access the same user data I amcurrently managing”. The first response comprising the first indicationis received by the load balancer node 130 according to Action 601, andthen by the client node 101 according to Action 501.

In steps 7-9, since the first indication is received, the client node101 stores the origin-host, but it also stores a “preferred” mark, not a“needed” mark for the first front-end node 111, as stated in the currentIETF RFC 6733. This may result in subsequent requests containing a newindication, the second indication, in the form of a new AVP, about the“preference”, that is, that the destination-host, here the firstfront-end node 111, is preferred, which is equivalent to indicate “realmrouting allowed”. The second indication is provided to the load balancernode 130 according to Action 502, and it is received by the loadbalancer node 130, according to Action 603. The load balancer node 130receives both the destination-host and the second indication.

In steps 10-13, the load balancer node 130, based on the received secondindication, and according to Action 604, first tries to send the requesttowards the destination-host, that is, the first front-end node 111.Since the first front-end node 111 is not reachable in this example,based on the second indication, it performs a fall back to diameterrealm routing to select another front-end node from the pool offront-end nodes 110, that is, the another front-end node 112.

As may be appreciated in FIG. 7, embodiments herein achieve signalingefficiency, optimized response times, and/or robustness whenever ispossible, as desired by operators in any network.

It may be highlighted that a diameter server implementing embodimentsherein such as the first front-end node 111 may also need to ensure thatthere are no inconsistencies across the rest of diameter servers, thatis, server failures, connectivity failures, etc. If detected, as in step11, it may result in flushing/clearing of all the local copiesstored/cached for a user since it may not be ensured anymore that thecached user data is the most recent. That is, a failover may haveoccurred to another server which updated the user data in UDR.Accordingly, another new indication/AVP may be additionally defined inembodiments herein as the third indication, to alert a diameter serversuch as the second front-end node 112, that a failover was performed andensure that, even if no failure was not detected by the second front-endnode 112, that the load balancer node 130 performed a failover and afailback. A failback may be understood as restoring the traffic towardsa front-end which was assumed to have failed but it is now recovered.

It must also be noted that IETF currently defines a Redirect-Host-UsageAVP, which requires the presence of a redirect diameter agent in thediameter path increasing the latency of the requests, since it mandatesan extra round-trip for every initial request. A redirect agent may beunderstood as a diameter node that responds to the client node with alist of one or several front-ends, so that the client node may send thendirectly the request towards them. A redirect agent may be understood tojust receive the request from the client node, and immediately respondwith the list of front-ends. The round-trip may be understood to receiveits name because first the client sends the request to the redirectagent, and then, when the agent responds, the client sends the requestagain, but to a front-end received in the response. Hence, there are tworequests sent by the client node, instead of one. That is the mainreason why no diameter redirect agent is used in operators' networks inexisting methods. Further, this agent is not aware of the diameterserver capabilities/implementation in a dynamic fashion, i.e. the agentmay need to be provisioned/pre-configured with all the users and networkinformation in a static manner, whereas according to the embodimentsherein, no operator intervention may be needed. As an example, if thefirst front-end node 111 exhausts its cache, a new initial request maynot result in user data locally kept/cached, so the new indication inthe response may advertise that any server is valid for the user,without a particular preference, e.g., by the first indication takingthe value “2”, as discussed above for some examples.

To perform the method actions described above in relation to FIG. 4 andFIG. 7, the first front-end node 111 configured to support datacommunication may comprise the following arrangement depicted in FIG. 8a. As stated earlier, the first front-end node 111 is further configuredto operate in the communications network 100.

The detailed description of some of the following corresponds to thesame references provided above, in relation to the actions described forthe first front-end node 111, and will thus not be repeated here. Forexample, the communications network 100 is configured to comprise thepool of front-end nodes 110, which are configured to provide access tothe database 105. The pool of front-end nodes 110 comprise the firstfront-end node 111.

It should be noted that the examples herein are not mutually exclusive.Components from one example may be tacitly assumed to be present inanother example and it will be obvious to a person skilled in the arthow those components may be used in the other examples.

The first front-end node 111 is further configured to, e.g., by means ofa receiving module 801 configured to, receive, from the load balancernode 130, the first request for data from the database 120. The firstrequest for data is configured to be from the client node 101. The loadbalancer node 130 and the client node 101 are further configured tooperate in the communications network 100.

The first front-end node 111 is further configured to, e.g., by means ofa providing module 802 configured to, provide, to the client node 101,the first response to the first request configured to be received. Thefirst response is configured to comprise the first indication configuredto indicate that the first front-end node 111 is the preferred node forproviding the subsequent response to the subsequent request for datafrom the client node 101. The subsequent response is configured to beallowed to originate from the another front-end node 112 in the pool offront-end nodes 110, the another front-end node 112 being different thanthe preferred node.

In some embodiments, the first response is configured to be provided tothe client node 101 via the load balancer node 130.

The first front-end node 111 may be further configured to operate in thecommunications network 100 over the diameter protocol.

The embodiments herein may be implemented through one or moreprocessors, such as the processor 803 in the first front-end node 111depicted in FIG. 8a , together with computer program code for performingthe functions and actions of the embodiments herein. The processor 803may be understood herein as a hardware component of the first front-endnode 111, and may be referred to herein as a processing circuitry 803.The program code mentioned above may also be provided as a computerprogram product, for instance in the form of a data carrier carryingcomputer program code for performing the embodiments herein when beingloaded into the in the first front-end node 111. One such carrier may bein the form of a CD ROM disc. It is however feasible with other datacarriers such as a memory stick. The computer program code mayfurthermore be provided as pure program code on a server and downloadedto the first front-end node 111.

The first front-end node 111 may further comprise a memory 804comprising one or more memory units. The memory 804 is arranged to beused to store obtained information, store data, configurations, andapplications etc. to perform the methods herein when being executed inthe first front-end node 111.

In some embodiments, the first front-end node 111 may receiveinformation from the load balancer node 130, database 120, and/oranother node in the communications network 100, through a receiving port805. In some examples, the receiving port 805 may be, for example,connected to one or more antennas in first front-end node 111. In otherembodiments, the first front-end node 111 may receive information fromanother structure in the communications network 100 through thereceiving port 805. Since the receiving port 805 may be in communicationwith the processing circuitry 803, the receiving port 805 may then sendthe received information to the processing circuitry 803. The receivingport 805 may also be configured to receive other information from othercommunication devices or structures in the communications network 100.

The processing circuitry 803 in the first front-end node 111 may befurther configured to transmit or send information to e.g., the loadbalancer node 130, database 120, and/or another node in thecommunications network 100, the client node 101, and/or any another nodein the communications network 100, through a sending port 806, which maybe in communication with the processing circuitry 803, and the memory804.

Those skilled in the art will also appreciate that the receiving module801, and the providing module 802 described above may refer to acombination of analog and digital modules, and/or one or more processorsconfigured with software and/or firmware, e.g., stored in memory, that,when executed by the one or more processors, such as the processingcircuitry 803, perform as described above. One or more of theseprocessors, as well as the other digital hardware, may be included in asingle Application-Specific Integrated Circuit (ASIC), or severalprocessors and various digital hardware may be distributed among severalseparate components, whether individually packaged or assembled into aSystem-on-a-Chip (SoC).

Also, in some embodiments, the different modules 801-802 described abovemay be implemented as one or more applications running on one or moreprocessors such as the processing circuitry 803.

Thus, the methods according to the embodiments described herein for thefirst front-end node 111 may be respectively implemented by means of acomputer program 807 product, comprising instructions, i.e., softwarecode portions, which, when executed on at least one processing circuitry803, cause the at least one processing circuitry 803 to carry out theaction described herein, as performed by the first front-end node 111.The computer program 807 product may be stored on a computer-readablestorage medium 808. The computer-readable storage medium 808, havingstored thereon the computer program 807, may comprise instructionswhich, when executed on at least one processing circuitry 803, cause theat least one processing circuitry 803 to carry out the action describedherein, as performed by the first front-end node 111. In someembodiments, the computer-readable storage medium 808 may be anon-transitory computer-readable storage medium, such as a CD ROM disc,or a memory stick. In other embodiments, the computer program 807product may be stored on a carrier containing the computer program 807just described, wherein the carrier is one of an electronic signal,optical signal, radio signal, or the computer-readable storage medium808, as described above.

In other examples, to perform the method actions described above inrelation to FIG. 4 and FIG. 7, the first front-end node 111 may comprisethe arrangement depicted in FIG. 8b . The first front-end node 111 maycomprise the processing circuitry 803, in the first front-end node 111,the memory 804, the receiving port 805, the sending port 806, theprogram 807 and the computer-readable medium 808. The memory 804 maycomprise instructions executable by the processing circuitry 803 wherebythe first front-end node 111 may be configured to perform one or more ofthe method actions according to FIG. 4 and FIG. 7.

To perform the method actions described above in relation to FIG. 5 orFIG. 7, the client node 101 configured to support data communication,may comprise the following arrangement depicted in FIG. 9a . As statedearlier, the client node 101 is further configured to operate in thecommunications network 100. The client node 101 may be configured tooperate in the communications network 100 over the diameter protocol.

The detailed description of some of the following corresponds to thesame references provided above, in relation to the actions described forthe client node 101, and will thus not be repeated here. For example,the communications network 100 is configured to comprise the pool offront-end nodes 110 for providing access to the database 120. The poolof front-end nodes 110 comprises the first front-end node 111.

It should be noted that the examples herein are not mutually exclusive.Components from one example may be tacitly assumed to be present inanother example and it will be obvious to a person skilled in the arthow those components may be used in the other examples.

The client node 101 is configured to, e.g., by means of a providingmodule 901 configured to, provide the second indication to the loadbalancer node 130 configured to operate in the communications network100. The second indication is configured to indicate that the firstfront-end node 111 is the preferred node for providing the subsequentresponse to the subsequent request for data from the database 120. Therequest is configured to be from the client node 101, by indicatingthat: i) the first front-end node 111 is the destination host forproviding the subsequent response to the subsequent request for datafrom the database 120, and ii) if the first front-end node 111 isunavailable, the another front-end node 112 is allowed to be selectedfrom the pool of front-end nodes 110 to provide the subsequent response,the different front-end node 104 being available.

The client node 101 is further configured to, e.g., by means of areceiving module 902 configured to, receive the subsequent response tothe subsequent request for data, the subsequent response beingconfigured to be based on the second indication configured to beprovided.

The subsequent request may be subsequent to the first request, thesubsequent response may be subsequent to the first response, and thesecond indication to the load balancer node 130 from the client node 101may be understood as the second indication.

The subsequent response may be configured to be received, via the loadbalancer node 130, from at least one of: the first front-end node 111and the another front-end node 112.

The client node 101 may be further configured to, e.g., by means of thereceiving module 902 configured to, receive, from the first front-endnode 111, the first response to the first request for data from theclient node 101. The first response is configured to comprise the firstindication configured to indicate that the first front-end node 111 isthe preferred node for providing the subsequent response to thesubsequent request for data from the client node 101. The subsequentresponse is allowed to originate from the another front-end node 112 inthe pool of front-end nodes 110, the another front-end node 112 beingdifferent than the preferred node. To provide the second indication isconfigured to be based on the first indication configured to bereceived.

The first response may be configured to be received via the loadbalancer node 130.

The embodiments herein may be implemented through one or moreprocessors, such as a processor 903 in the client node 101 depicted inFIG. 9a , together with computer program code for performing thefunctions and actions of the embodiments herein. The processor 903 maybe understood herein as a hardware component of the client node 101, andmay be referred to herein as a processing circuitry 903. The programcode mentioned above may also be provided as a computer program product,for instance in the form of a data carrier carrying computer programcode for performing the embodiments herein when being loaded into the inthe client node 101. One such carrier may be in the form of a CD ROMdisc. It is however feasible with other data carriers such as a memorystick. The computer program code may furthermore be provided as pureprogram code on a server and downloaded to the client node 101.

The client node 101 may further comprise a memory 904 comprising one ormore memory units. The memory 904 is arranged to be used to storeobtained information, store data, configurations, schedulings, andapplications etc. to perform the methods herein when being executed inthe client node 101.

In some embodiments, the client node 101 may receive information fromthe load balancer node 130, the first front-end node 111, the anotherfront-end node 112 and/or another node, through a receiving port 905. Insome examples, the receiving port 905 may be, for example, connected toone or more antennas in client node 101. In other embodiments, theclient node 101 may receive information from another structure in thecommunications network 100 through the receiving port 905. Since thereceiving port 905 may be in communication with the processing circuitry903, the receiving port 905 may then send the received information tothe processing circuitry 903. The receiving port 905 may also beconfigured to receive other information.

The processing circuitry 903 in the client node 101 may be furtherconfigured to transmit or send information to e.g., load balancer node130, the first front-end node 111, the another front-end node 112 and/oranother node, through a sending port 906, which may be in communicationwith the processing circuitry 903, and the memory 904.

Those skilled in the art will also appreciate that the providing module901 and the receiving module 902 described above may refer to acombination of analog and digital modules, and/or one or more processorsconfigured with software and/or firmware, e.g., stored in memory, that,when executed by the one or more processors such as the processingcircuitry 903, perform as described above. One or more of theseprocessors, as well as the other digital hardware, may be included in asingle Application-Specific Integrated Circuit (ASIC), or severalprocessors and various digital hardware may be distributed among severalseparate components, whether individually packaged or assembled into aSystem-on-a-Chip (SoC).

Also, in some embodiments, the different modules 901-902 described abovemay be implemented as one or more applications running on one or moreprocessors such as the processing circuitry 903.

Thus, the methods according to the embodiments described herein for theclient node 101 may be respectively implemented by means of a computerprogram 907 product, comprising instructions, i.e., software codeportions, which, when executed on at least one processing circuitry 903,cause the at least one processing circuitry 903 to carry out the actiondescribed herein, as performed by the client node 101. The computerprogram 907 product may be stored on a computer-readable storage medium908. The computer-readable storage medium 908, having stored thereon thecomputer program 907, may comprise instructions which, when executed onat least one processing circuitry 903, cause the at least one processingcircuitry 903 to carry out the action described herein, as performed bythe client node 101. In some embodiments, the computer-readable storagemedium 908 may be a non-transitory computer-readable storage medium 908,such as a CD ROM disc, or a memory stick. In other embodiments, thecomputer program 907 product may be stored on a carrier containing thecomputer program 907 just described, wherein the carrier is one of anelectronic signal, optical signal, radio signal, or thecomputer-readable storage medium 908, as described above.

In other examples, to perform the method actions described above inrelation to FIG. 5 and FIG. 7, the client node 101 may comprise thefollowing arrangement depicted in FIG. 9b . The client node 101 maycomprise the processing circuitry 903, in the client node 101, thememory 904, the receiving port 905, the sending port 906, the program907 and the computer-readable medium 908. The memory 904 may compriseinstructions executable by the processing circuitry 903 whereby theclient node 101 may be configured to perform one or more of the methodactions according to FIG. 5 and FIG. 7.

To perform the method actions described above in relation to FIG. 6 andFIG. 7, the load balancer node 130 configured to support datacommunication, may comprise the following arrangement depicted in FIG.10a . As stated earlier, the load balancer node is configured to operatein the communications network 100. The load balancer node 130 may beconfigured to operate in the communications network 100 over thediameter protocol.

The detailed description of some of the following corresponds to thesame references provided above, in relation to the actions described forthe load balancer node 130, and will thus not be repeated here. Forexample, the communications network 100 is configured to comprise thepool of front-end nodes 110 for providing access to the database 120.The pool of front-end nodes 110 is configured to comprise the firstfront-end node 111.

It should be noted that the examples herein are not mutually exclusive.Components from one example may be tacitly assumed to be present inanother example and it will be obvious to a person skilled in the arthow those components may be used in the other examples.

The load balancer node 130 is configured to, e.g., by means of areceiving module 1001 configured to, receive the second indication fromthe client node 101 configured to operate in the communications network100. The second indication is configured to indicate that the firstfront-end node 111 is the preferred node for providing the subsequentresponse to the subsequent request for data from the database 120. Thesubsequent request is configured to be from the client node 101, byindicating that: i) the first front-end node 111 is the destination hostfor providing the subsequent response to the subsequent request for datafrom the database 120, and ii) if the first front-end node 111 isunavailable, the another front-end node 112, the another front-end node112 being available, is allowed to be selected from the pool offront-end nodes 110 to provide the subsequent response.

In some embodiments, the load balancer node 130 may be furtherconfigured to e.g., by means of the receiving module 1001 configured to,receive, from the first front-end node 111, the first response to thefirst request for data from the client node 101, the first responsebeing configured to comprise the first indication configured to indicatethat the first front-end node 111 is the preferred node for providingthe subsequent response to the subsequent request for data from theclient node 101, and the subsequent response is allowed to originatefrom the another front-end node 112, the another front-end node 112being different than the preferred node. To receive the secondindication may be configured to be based on the first indicationconfigured to be provided.

The load balancer node 130 is further configured to, e.g., by means ofan initiating module 1002 configured to, initiate, based on the secondindication configured to be received, and in response to the subsequentrequest for data from the client node 101, the attempt to receive thesubsequent response to the subsequent request for data. The reception ofthe subsequent response is configured to be first attempted from thefirst front-end node 111, and one of: i) if the first front-end node 111is available, the subsequent response is configured to be successfullyreceived from the first front-end node 111, and ii) if the firstfront-end node 111 is unavailable, the subsequent request is configuredto be re-routed to the another front-end node 112, the another front-endnode 112 being configured to be available, and the another front-endnode 112 is configured to be selected by the load balancer node 130 fromthe pool of front-end nodes 110 to provide the subsequent response.

In some embodiments, if the first front-end node 111 is unavailable, thesubsequent request may be configured to be re-routed to the anotherfront-end node 112, and the load balancer node 130 may be furtherconfigured to, e.g., by means of a providing module 1003 configured to,provide, to the another front-end node 112, the another indicationconfigured to indicate to clear the cache configured to be saved fromthe previous request from the client node 101 to the another front-endnode 112.

In some embodiments, the load balancer node 130 may be furtherconfigured to, e.g., by means of the providing module 1003 configuredto, provide the first indication configured to be received, to theclient node 101.

The embodiments herein may be implemented through one or moreprocessors, such as a processor 1004 in the load balancer node 130depicted in FIG. 9a together with computer program code for performingthe functions and actions of the embodiments herein. The processor 1004may be understood herein as a hardware component of the load balancernode 130, and may be referred to herein as a processing circuitry 1004.The program code mentioned above may also be provided as a computerprogram product, for instance in the form of a data carrier carryingcomputer program code for performing the embodiments herein when beingloaded into the in the load balancer node 130. One such carrier may bein the form of a CD ROM disc. It is however feasible with other datacarriers such as a memory stick. The computer program code mayfurthermore be provided as pure program code on a server and downloadedto the load balancer node 130.

The load balancer node 130 may further comprise a memory 1005 comprisingone or more memory units. The memory 1005 is arranged to be used tostore obtained information, store data, configurations, schedulings, andapplications etc. . . . to perform the methods herein when beingexecuted in the load balancer node 130.

In some embodiments, the load balancer node 130 may receive informationfrom the client node 101, the first front-end node 111, the anotherfront-end node 112 and/or another node, through a receiving port 1006.In some examples, the receiving port 1006 may be, for example, connectedto one or more antennas in load balancer node 130. In other embodiments,the load balancer node 130 may receive information from anotherstructure in the communications network 100 through the receiving port1006. Since the receiving port 1006 may be in communication with theprocessing circuitry 1004, the receiving port 1006 may then send thereceived information to the processing circuitry 1004. The receivingport 1006 may also be configured to receive other information.

The processing circuitry 1004 in the second node 102 may be furtherconfigured to transmit or send information to e.g., client node 101, thefirst front-end node 111, the another front-end node 112 and/or anothernode described above, through a sending port 1007, which may be incommunication with the processing circuitry 1004, and the memory 1005.

Those skilled in the art will also appreciate that the receiving module1001, the initiating module 1002 and the providing module 1003 describedabove may refer to a combination of analog and digital modules, and/orone or more processors configured with software and/or firmware, e.g.,stored in memory, that, when executed by the one or more processors suchas the processing circuitry 1004, perform as described above. One ormore of these processors, as well as the other digital hardware, may beincluded in a single Application-Specific Integrated Circuit (ASIC), orseveral processors and various digital hardware may be distributed amongseveral separate components, whether individually packaged or assembledinto a System-on-a-Chip (SoC).

Also, in some embodiments, the different modules 1001-1003 describedabove may be implemented as one or more applications running on one ormore processors such as the processing circuitry 1004.

Thus, the methods according to the embodiments described herein for theload balancer node 130 may be respectively implemented by means of acomputer program 1008 product, comprising instructions, i.e., softwarecode portions, which, when executed on at least one processing circuitry1004, cause the at least one processing circuitry 1004 to carry out theaction described herein, as performed by the load balancer node 130. Thecomputer program 1008 product may be stored on a computer-readablestorage medium 1009. The computer-readable storage medium 1009, havingstored thereon the computer program 1008, may comprise instructionswhich, when executed on at least one processing circuitry 1004, causethe at least one processing circuitry 1004 to carry out the actionsdescribed herein, as performed by the load balancer node 130. In someembodiments, the computer-readable storage medium 1009 may be anon-transitory computer-readable storage medium 1009, such as a CD ROMdisc, or a memory stick. In other embodiments, the computer program 1008product may be stored on a carrier containing the computer program 1008just described, wherein the carrier is one of an electronic signal,optical signal, radio signal, or the computer-readable storage medium1009, as described above.

In other examples, to perform the method actions described above inrelation to FIG. 6 and FIG. 7, the load balancer node 130 may comprisethe following arrangement depicted in FIG. 10b . The load balancer node130 may comprise the processing circuitry 1004, in the load balancernode 130, the memory 1005, the receiving port 1007, the sending port1006, the program 1008 and the computer-readable medium 1009. The memory1005 may comprise instructions executable by the processing circuitry1004 whereby the load balancer node 130 may be configured to perform oneor more of the method actions according to FIG. 6 and FIG. 7.

According to the foregoing, some examples of embodiments herein may alsocomprise a carrier comprising any of the first indication, the secondindication and the third indication, as respectively described above,wherein the carrier is one of an electronic signal, optical signal,radio signal, or computer readable storage medium.

When using the word “comprise” or “comprising” it shall be interpretedas non-limiting, i.e. meaning “consist at least of”.

The embodiments herein are not limited to the above described preferredembodiments. Various alternatives, modifications and equivalents may beused. Therefore, the above embodiments should not be taken as limitingthe scope of the invention.

It may be noted that in the following claims, any of the subsequentrequest, the subsequent response and the second indication may bereferred to, respectively, as the request, the response, and theindication, if no particular reference to the first request, the firstresponse and the first indication is made before for a particularentity.

1. A method, performed by a system, for supporting data communication,the system operating in a communications network and comprising a loadbalancer node and pool of front-end nodes for providing access to adatabase, the pool of front-end nodes comprising a first front-end node,the method comprising: receiving, at the load balancer node from aclient node, a first request for data from the database, the client nodeoperating in the communications network; receiving, at the firstfront-end node from the load balancer node, the first request for datafrom the database; and providing, to the client node, a first responseto the received first request, the first response comprising a firstindication indicating that the first front-end node is a preferred nodefor providing a subsequent response to a subsequent request for datafrom the client node, wherein the subsequent response is allowed tooriginate from another front-end node in the pool of front-end nodes,the another front-end node being different than the preferred node.2.-30. (canceled)
 31. The method according to claim 1, wherein the firstresponse is provided to the client node via the load balancer node. 32.The method according to claim 1 further comprising: receiving, at theload balancer from the client node, an indication indicating that thefirst front-end node is a preferred node for providing a response to arequest for data from the database, the request being from the clientnode, by indicating that: i. the first front-end node is a destinationhost for providing the response to the request for data from thedatabase; and ii. if the first front-end node is unavailable, anotherfront-end node, the another front-end node being available, is allowedto be selected from the pool of front-end nodes to provide the response;and initiating, based on the received indication and in response to therequest for data from the client node, an attempt to receive theresponse to the request for data, wherein the reception of the responseis first attempted from the first front-end node, and wherein one of: i.the first front-end node is available and the response is successfullyreceived from the first front-end node; and ii. the first front-end nodeis unavailable and the request is re-routed to the another front-endnode, the another front-end node being available, and the anotherfront-end node being selected by the load balancer node from the pool offront-end nodes to provide the response.
 33. The method according toclaim 32, wherein the first front-end node is unavailable and therequest is re-routed to the another front-end node, and wherein themethod further comprises: providing, to the another front-end node,another indication indicating to clear a cache saved from a previousrequest from the client node to the another front-end node.
 34. Themethod according to claim 1, wherein the first front end node uses adiameter protocol.
 35. A method, performed by a client node, forsupporting data communication, the client node operating in acommunications network, the communications network comprising a systemhaving a load balancer node and a pool of front-end nodes for providingaccess to a database, the pool of front-end nodes comprising a firstfront-end node, the method comprising: transmitting, toward the loadbalancer node, a first request for data from the database: andreceiving, from the system, a first response to the transmitted firstrequest, the first response comprising a first indication indicatingthat the first front-end node is a preferred node for providing asubsequent response to a subsequent request for data from the clientnode, the subsequent response being allowed to originate from anotherfront-end node in the pool of front-end nodes, the another front-endnode being different than the preferred node.
 36. The method accordingto claim 35, further comprising: providing an indication to the loadbalancer node operating in the communications network, the indicationindicating that the first front-end node is a preferred node forproviding a response to a request for data from the database, therequest being from the client node, by indicating that: i. the firstfront-end node is a destination host for providing the response to therequest for data from the database; and ii. if the first front-end nodeis unavailable, another front-end node is allowed to be selected fromthe pool of front-end nodes to provide the response, the anotherfront-end node being available; and receiving a subsequent response to asubsequent request for data, the subsequent response being based on theprovided indication.
 37. The method according to claim 36, wherein thesubsequent response is received, via the load balancer node, from atleast one of: the first front-end node; and the another front-end node.38. The method according to claim 35, wherein the first response isreceived via the load balancer node.
 39. The method according to claim35, wherein the client node uses a diameter protocol.
 40. A systemconfigured to support data communication and to operate in acommunications network, the system having: a load balancer node and apool of front-end nodes configured to provide access to a database, thepool of front-end nodes comprising a first front-end node, the systembeing configured to: receive, at the load balancer node from a clientnode, a first request for data from the database, the client nodeoperating in the communications network; receive, at the first front-endnode from the load balancer node, the first request for data from thedatabase; and provide, to the client node, a first response to the firstrequest, the first response comprising a first indication indicatingthat the first front-end node is a preferred node for providing asubsequent response to a subsequent request for data from the clientnode, the subsequent response being allowed to originate from anotherfront-end node in the pool of front-end nodes, the another front-endnode being different than the preferred node.
 41. The system accordingto claim 40, wherein the first response is provided to the client nodevia the load balancer node.
 42. The system according to claim 40,wherein the load balancer node, the first front-end node and the anotherfront-end node are further configured to operate in the communicationsnetwork over a diameter protocol.
 43. The system according to claim 40,further configured to: receive, at the load balancer from the clientnode, an indication configured to indicate that the first front-end nodeis a preferred node for providing a response to a request for data fromthe database, the request being from the client node, by indicatingthat: i. the first front-end node is a destination host for providingthe response to the request for data from the database; and ii. if thefirst front-end node is unavailable, another front-end node, the anotherfront-end node being available, is allowed to be selected from the poolof front-end nodes to provide the response; and initiate, at the loadbalancer based on the received indication and in response to the requestfor data from the client node, an attempt to receive the response to therequest for data, wherein the reception of the response is firstattempted from the first front-end node, and wherein one of: i. if thefirst front-end node is available, the response is successfully receivedfrom the first front-end node; and ii. if the first front-end node isunavailable, the request is re-routed to the another front-end node, theanother front-end node being available, and the another front-end nodebeing selected by the load balancer node from the pool of front-endnodes to provide the response.
 44. The system according to claim 43,wherein if the first front-end node is unavailable, the request isre-routed to the another front-end node, and wherein the system isfurther configured to: provide, from the load balancer node to theanother front-end node, another indication configured to indicate toclear a cache configured to be saved from a previous request from theclient node to the another front-end node.
 45. A client node configuredto support data communication and to operate in a communicationsnetwork, the communications network having a system with a load balancernode and a pool of front-end nodes for providing access to a database,the pool of front-end nodes comprising a first front-end node, theclient node being configured to: transmit, toward the load balancernode, a first request for data from the database; and receive, from thesystem, a first response to the transmitted first request, the firstresponse comprising a first indication indicating that the firstfront-end node is a preferred node for providing a subsequent responseto a subsequent request for data from the client node, the subsequentresponse being allowed to originate from another front-end node in thepool of front-end nodes, the another front-end node being different thanthe preferred node.
 46. The client node according to claim 45, furtherconfigured to: provide an indication to the load balancer nodeconfigured to operate in the communications network, the indicationbeing configured to indicate that the first front-end node is apreferred node for providing a response to a request for data from thedatabase, the request being configured to be from the client node, byindicating that: i. the first front-end node is a destination host forproviding the response to the request for data from the database; andii. if the first front-end node is unavailable, another front-end nodeis allowed to be selected from the pool of front-end nodes to providethe response, the another front-end node being available; and receive asubsequent response to a subsequent request for data, the subsequentresponse being based on the indication configured to be provided. 47.The client node according to claim 46, wherein the subsequent responseis received, via the load balancer node, from at least one of: the firstfront-end node; and the another front-end node.
 48. The client nodeaccording to claim 45, wherein the first response is received via theload balancer node.
 49. The client node according to claim 45, whereinthe client node is configured to operate in the communications networkover a diameter protocol.